/* 
 * File:   arealight.h
 * Author: chaterolas
 *
 * Created on 26 de junio de 2009, 02:49 PM
 */

#ifndef _AREALIGHT_H
#define	_AREALIGHT_H

#include "light.h"

class AreaLight : public Light {
public:
    AreaLight(double cR, double cG, double cB, double px, double py, double pz,
            double dx, double dy, double dz, double intensity, double size,
            int samples);
    virtual ~AreaLight();

    int getType();

    Vector3D *getCorner();
    Vector3D *getHSide();
    Vector3D *getVSide();


private:
    Vector3D *hd, *vd, *corner;

};

#endif	/* _AREALIGHT_H */

